﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe;

namespace KBS8.Data.GdfDataFilter
{
    abstract class DatabaseReader
    {
        /// <summary>
        /// The connection with the database
        /// </summary>
        public SqlCeConnection Connection;

        protected DatabaseReader(SqlCeConnection connection)
        {
            this.Connection = connection;
        }

        /// <summary>
        /// The reading-method
        /// </summary>
        /// <param name="o">The output</param>
        public virtual void Read(FilteredOutput o) {}
    }
}
